import { xhrPostJson } from '@/services';
import { DynamicObjectAny } from '@/typings';

const baseUrl = '/arcv'

const api = {
  detail: `${baseUrl}/archives/detail`,
  page: `${baseUrl}/arcvPool/page`,
  theArchive: `${baseUrl}/arcvPool/theArchive`
};

// 归档
export const theArchive = (params: DynamicObjectAny) => {
  return xhrPostJson(api.theArchive, params);
};

export default api;
